package com.linys.scala.study.io

import scala.io.Source

/**
  * Created by admin on 2019/10/15.
  */
object Output {

  def main(args: Array[String]) {
    println("文件内容为:" )

    Source.fromFile("test.txt" ).foreach{
      print
    }
  }

}
